package com.shenghua.dao.mapperX;

import com.shenghua.dao.model.Limits;
import com.shenghua.dao.model.Mould;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface LimitsMapperX {
    List<Limits> selectLimitsListByMap(Map<String, Object> map);
    int countLimitsByMap(Map<String, Object> map);
    int selectMaxLimitCode();
    int selectMaxLimitSortSameParentCodeSameLimitType(@Param("parentCode")int parentCode,@Param("limitType")String limitType);
}